package com.jiang.demo.springbootmultidatasources.dsconfig.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@ConfigurationProperties(prefix = "spring.datasource.database2")
@Component
@Data
public class DB2Property {
    private String url;
    private String username;
    private String password;
    private String driverClassName;
}
